package org.dromara.ai.mapper;

import org.dromara.ai.domain.AiUserFollow;
import org.dromara.ai.domain.vo.AiUserFollowVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 关注Mapper接口
 *
 * @author Tang
 * @date 2024-12-08
 */
public interface AiUserFollowMapper extends BaseMapperPlus<AiUserFollow, AiUserFollow> {
    /**
     * 查询指定用户关注
     * @param followerId 用户ID
     * @return 关注信息
     */
    List<AiUserFollowVo> selectByFollowerId(Long followerId);


    /**
     * 查询指定用户粉丝
     * @param followeeId 用户ID
     * @return 粉丝信息
     */
    List<AiUserFollowVo> selectByFolloweeId(Long followeeId);
}
